<?php

namespace App\Model\Dao;

use \Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity
 */
class Video extends \Kdyby\Doctrine\Entities\BaseEntity{

    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue
     */
    private $id;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $code;
    
    /**
     * @ORM\Column(type="string", length=255)
     */
    private $category;
 
    /**
     * @ORM\Column(type="string", length=255)
     */
    private $title;
    
    /**
     * @ORM\Column(type="string", length=255)
     */
    private $webalize;

    /**
     * @ORM\Column(type="text", nullable=true)
     */
    private $description;
    
    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $requirements;
    
    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $duration;
    
    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $keyword;
    
    /**
     * @ORM\Column(type="integer")
     */
    private $learn;
    
    /**
     * @ORM\Column(type="string", length=255)
     */
    private $style;
    
    /**
     * @ORM\Column(type="integer", length=3)
     */
    private $level;
    
    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    private $webdesc;
    
    public function getId() {
      return $this->id;
    }

    public function getCode() {
      return $this->code;
    }

    public function getCategory() {
      return $this->category;
    }

    public function getTitle() {
      return $this->title;
    }

    public function getWebalize() {
      return $this->webalize;
    }

    public function getDescription() {
      return $this->description;
    }

    public function getRequirements() {
      return $this->requirements;
    }

    public function getDuration() {
      return $this->duration;
    }

    public function getKeyword() {
      return $this->keyword;
    }

    public function getLearn() {
      return $this->learn;
    }

    public function getStyle() {
      return $this->style;
    }

    public function getLevel() {
      return $this->level;
    }

    public function setId($id) {
      $this->id = $id;
    }

    public function setCode($code) {
      $this->code = $code;
    }

    public function setCategory($category) {
      $this->category = $category;
    }

    public function setTitle($title) {
      $this->title = $title;
    }

    public function setWebalize($webalize) {
      $this->webalize = $webalize;
    }

    public function setDescription($description) {
      $this->description = $description;
    }

    public function setRequirements($requirements) {
      $this->requirements = $requirements;
    }

    public function setDuration($duration) {
      $this->duration = $duration;
    }

    public function setKeyword($keyword) {
      $this->keyword = $keyword;
    }

    public function setLearn($learn) {
      $this->learn = $learn;
    }

    public function setStyle($style) {
      $this->style = $style;
    }

    public function setLevel($level) {
      $this->level = $level;
    }
    
    public function getWebdesc() {
      return $this->webdesc;
    }

    public function setWebdesc($webdesc) {
      $this->webdesc = $webdesc;
    }
}

